﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Hydra.Contract;

namespace Hydra.Payload.Logging
{
    public sealed class Trace
    {
        public static void Info(string format, params object[] objs)
        {
            Engine.Proxy.WriteLog(LogLevel.Info, string.Format(format, objs));
        }
        public static void Debug(string format, params object[] objs)
        {
            Engine.Proxy.WriteLog(LogLevel.Debug, string.Format(format, objs));
        }
        public static void Error(string format, params object[] objs)
        {
            Engine.Proxy.WriteLog(LogLevel.Error, string.Format(format, objs));
        }
        public static void Warning(string format, params object[] objs)
        {
            Engine.Proxy.WriteLog(LogLevel.Warning, string.Format(format, objs));
        }
    }
}
